#!/bin/bash
docker build -t springbootdemo-1.0.jar .
docker tag springbootdemo-1.0.jar:latest 192.168.1.200:80/ceshi/springbootdemo:v10
docker login -u admin -p Harbor12345 http://192.168.1.200:80
docker push 192.168.1.200:80/ceshi/springbootdemo:v10